
import axios from './request'

export const getUrl = (url, params) => {
  return axios.get(url, { params })
}

export const postUrl = (url, params) => {
  return axios.postUrl(url, params)
}

export const putUrl = (url, params) => {
  return axios.putUrl(url, params)
}

export const deleteUrl = (url, params) => {
  return axios.delete(url, { params })
}

export const newdeleteUrl = (url, params) => {
  return axios.delete(url, { data: params })
}